import request from './request.js'
// 发送请求
export const reqUserList =  () => request({
  method: 'get',
  url: '/userList',
})

export const reqUserInfo = (id) => {
  console.log('请求用户信息');
  return request({
    method:'get',
    url:`/userInfo?id=${id}`,
  })
}
